package com.ruoyi.web.controller.util;

import java.util.Date;

/**
 * 手机验证码对象
 */
public class CodeEntity {
    private String type;//验证码类型 1:注册验证 2:忘记密码
    private String code;
    private Date date;

    public CodeEntity() {
    }

    public CodeEntity(String type, String code, Date date) {
        this.type = type;
        this.code = code;
        this.date = date;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
